/**
 * @Auto generation code
 * Spdb Notify Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, loading
 * 浦发支付接口回调通知 - GET
 */
export const spdbNotify = async ({// query params
		open_userid ,   // openId，对应浦发的用户  
		res_status ,   // 返回状态  
		res_msg ,   // 返回消息  
		order_number ,   // 订单号  
		total_amount ,   // 总金额  
		sign   // 签名  
	
}, loading) => {
	return await request.get('/pay/spdb/notify', {
		 open_userid,  res_status,  res_msg,  order_number,  total_amount,  sign, 
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 浦发支付接口回调通知 - POST
 */
export const spdbNotify = async ({// query params
		open_userid ,   // openId，对应浦发的用户  
		res_status ,   // 返回状态  
		res_msg ,   // 返回消息  
		order_number ,   // 订单号  
		total_amount ,   // 总金额  
		sign   // 签名  
	
}, loading) => {
	return await request.post('/pay/spdb/notify', {
		 open_userid,  res_status,  res_msg,  order_number,  total_amount,  sign, 
	}, {
		
	}, loading)
}

